package org.yuanqiframework.yuanqi.boot.sys.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 
 * @TableName sys_website
 */
@Data
public class SysWebsiteDTO implements Serializable {

    /**
     * 键
     */
    @NotEmpty(message = "键不能为空")
    @Size(max = 500, message = "编码长度不能超过500")
    @Length(max = 500, message = "编码长度不能超过500")
    private String keyName;

    /**
     * 值
     */
    @NotEmpty(message = "值不能为空")
    @Size(max = 1000, message = "编码长度不能超过1000")
    @Length(max = 1000, message = "编码长度不能超过1000")
    private String settingValue;


}